﻿using System;
using System.Collections.Generic;
using RealtReview.DataAccess.SearchParameters;
using RealtyReview.Business.Models.Review;
using RealtyReview.Business.Models.ViewModels;

namespace RealtyReview.Business.Interfaces
{
    public interface IReviewsService
    {
        Guid AddReview(Guid? userId, ReviewDetailsViewModel model);

        bool EditReview(Guid userId, ReviewDetailsViewModel model);

        bool RevokeReview(Guid userId, Guid reviewId);

        IEnumerable<ReviewListViewModel> GetReviews(ReviewSearchParameters searchParameters);

        ReviewDetailsViewModel GetReviewDetails(Guid reviewId);
    }
}
